<html>
<title>Asirra HIP/CAPTCHA</title>
<head>

<script type="text/javascript">

function HumanCheckComplete(isHuman)
{
	if (isHuman)
	{
		formElt = document.getElementById("mainForm");
		formElt.submit();
	}
	else
	{
		alert("Please identify the cats!");
		return false;
	}
}

</script>
</head>

<body>

	<table width="100%" style="width: 100%; height=100%; align=middle; vertical-align=top;">
	<tr align="center">
	<td align="center">

	<div id="javascriptDeactivated" style="background: #ff0000; color: #00ffff;">
		Please allow Javascript!
	</div>

	<p id="javascriptUsed" style="display: none;">
	
	<form action="{FORMACTION}" method="POST" id="mainForm">
 		<br><script type="text/javascript" src="//challenge.asirra.com/js/AsirraClientSide.js"></script>
		<script type="text/javascript">
			<!--
			// You can control where the big version of the photos appear by
			// changing this to top, bottom, left, or right
			asirraState.SetEnlargedPosition("bottom");

			// You can control the images per line of the challenge box by changing this constant
			// You will always see 12 pictures total.
			asirraState.SetCellsPerRow(6);
			//-->
		</script>
		<br><input type="button" value="Check Kitties" onclick="javascript:Asirra_CheckIfHuman(HumanCheckComplete)">
	</form>
	
	</p>
	
	</td>
	</tr>
	</table>
	
	<script language="javascript">
	<!--
		// hides message and shows Asirra if javascript is enabled
		document.getElementById('javascriptDeactivated').style.display = 'none';
		document.getElementById('javascriptUsed').style.display = '';
	//-->
	</script>

</body>
</html>
